<template>
	<div>
		<DataMemberPersonPeriod
			:billDetail="currentBillDetail"
		></DataMemberPersonPeriod>
		<DataMemberPersonPeriod
			periodType="last"
			:billDetail="lastBillDetail"
		></DataMemberPersonPeriod>
		<DataMemberBill
			:isJump="isJump"
			:billDetail="currentBillDetail"
		></DataMemberBill>
	</div>
</template>

<script>
import DataMemberBill from '@/components/Funds/SettlementBillDetail/DataMemberBill'
import DataMemberPersonPeriod from '@/components/Funds/SettlementBillDetail/DataMemberPersonPeriod'
import list from '@/mixins/list'
export default {
	components: { DataMemberBill, DataMemberPersonPeriod },
	mixins: [list],
	props: {
		currentBillDetail: {
			type: Object,
			default: () => {
				return {}
			}
		},
		lastBillDetail: {
			type: Object,
			default: () => {
				return {}
			}
		}
	},
	data() {
		return {
			isJump: false
		}
	},
	mounted() {
		if (this.currentBillDetail?.billId) {
			this.isJump = true
		}
	}
}
</script>
